package service;

import bean.OrderItem;

import java.util.List;

public interface OrderItemService {
    //根据订单编号获取订单明细集合
    List<OrderItem> getOrderItemsByOrderId(int orderId);
    //添加订单明细
    boolean addOrderItem(OrderItem orderItem);
}
